package com.blog.dao;

import com.blog.model.News;
import com.blog.utils.MyMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NewsMapper extends MyMapper<News> {

    List<News> findAll();

    Integer getNewsCount(int cateid);
}